package cn.btks.resultintegration.achievements.repository;

import cn.btks.resultintegration.achievements.pojo.AchievementsType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author lijun
 * @Date 2020/12/16 13:29
 */
@Repository
public interface AchievementsTypeRepository extends JpaRepository<AchievementsType,Long> {

    /**
     * 根据code查询成果数据
     * @param code
     * @return
     */
    AchievementsType findByCode(String code);
}
